package com.hibase.core.page.entity.listxml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import lombok.Data;

/**
 * @ClassName: ListFieldLinkButtonXmlVo
 * @Description: TODO
 * @author: TimBrian
 * @date: 2021年12月25日 上午11:50:12
 */
@Data
public class ListFieldLinkButtonXmlVo {

	/**
	 * buttonId可以赋值权限
	 */
	@XStreamAsAttribute
	@XStreamAlias("buttonId")
	private String buttonId;

	/**
	 * 按钮类型:COMMIT,POPUP,REDIRECT,WINDOW
	 */
	@XStreamAsAttribute
	@XStreamAlias("type")
	private String type;

	/**
	 * pageId
	 */
	@XStreamAsAttribute
	@XStreamAlias("pageId")
	private String pageId;

	/**
	 * pageIdRule="list.status=='OPEN' ? 'aPage':'bPage'"
	 */
	@XStreamAsAttribute
	@XStreamAlias("pageIdRule")
	private String pageIdRule;

	/**
	 * A链的Icon
	 */
	@XStreamAsAttribute
	@XStreamAlias("defaultShowIcon")
	private String defaultShowIcon;

	/**
	 * A链的显示值
	 */
	@XStreamAsAttribute
	@XStreamAlias("defaultShowValue")
	private String defaultShowValue;
	
	/**
	 * 确认提示消息
	 */
	@XStreamAsAttribute
	@XStreamAlias("message")
	private String message;
	
}
